package com.iplant.basic.service.po.mss;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.utils.annotation.po.DBBasePO;

import java.io.Serializable;

/**
 * 单位组
 *
 * @author ShrisJava
 */
@DBBasePO(TableName = "MSS_UnitGroup", CheckName = {"Code", "Name,ParentGroupID"})
public class MSSUnitGroup extends BasePO implements Serializable {
    private static final long serialVersionUID = 1L;

    public int ParentGroupID;// 上级物料组ID
    public String ParentGroupName;// 上级组ID全称
    public String ParentGroupCode;
    public int ItemCount = 0;
    public int UnitCount = 0;
    /**
     * 上级组全称
     */
    public String GroupFullName;

    @JsonProperty("ParentGroupID")
    public int getParentGroupID() {
        return ParentGroupID;
    }

    public void setParentGroupID(int parentGroupID) {
        ParentGroupID = parentGroupID;
    }

    @JsonProperty("ParentGroupName")
    public String getParentGroupName() {
        return ParentGroupName;
    }

    public void setParentGroupName(String parentGroupName) {
        ParentGroupName = parentGroupName;
    }

    @JsonProperty("ParentGroupCode")
    public String getParentGroupCode() {
        return ParentGroupCode;
    }

    public void setParentGroupCode(String parentGroupCode) {
        ParentGroupCode = parentGroupCode;
    }

    @JsonProperty("GroupFullName")
    public String getGroupFullName() {
        return GroupFullName;
    }

    public void setGroupFullName(String groupFullName) {
        GroupFullName = groupFullName;
    }

}
